package write

import (
	"encoding/json"
	"fmt"
)

type Log interface {
	Write(c interface{})
}

type FmtLog struct {
}

func (fl *FmtLog) Write(c interface{}) {
	bytes, _ := json.Marshal(c)
	fmt.Println(string(bytes))
}
